<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link href='images/favicon.ico' rel='shortcut icon' type='image/x-icon'/>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Service de parking à L'Aéroport-Genève</title>
		<meta name="keywords" content="parking park Genève aéroport voiture véhicule automobile" />
		<meta name="description" content="Service de parking à l'aéroport de Genève. Fly et laissez votre voiture sauvé" />
		<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<link href="css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" type="text/css" />

		<script src="js/jQuery-1.9.1.js"></script>
		<script src="js/jquery-ui-1.10.4.custom.min.js"></script>
		<script type="text/javascript" src="js/TweenMax.min.js"></script>
		<script type="text/javascript" src="js/ScrollToPlugin.min.js"></script>
		<script src="js/jquery.validate.min.js"></script>
       

		<?php
		session_start();
		?>
	</head>
	<body>
		<div id="templatemo_container_wrapper">
			<div id="templatemo_container">
				<div id="templatemo_banner">
					<table width="100%"><tr><td align="left" style="width: 550px">

								<div id="templatemo_menu1">
									<ul>
										<li><a id="abannerLink1" href="index.php" >Accueil</a></li>
										<li><a id="abannerLink2" href="services.php" >Services</a></li>
										<li><a id="abannerLink3" href="tarifs.php" >Tarifs</a></li>							
									</ul>
								</div>
							</td><td align="right">

								<div id="templatemo_menu2">
									<ul>
										<li><a id="abannerLink4" href="faq.php" class="bannerLInk">F.A.Q</a></li>
										<li><a id="abannerLink5" href="contact.php" class="bannerLInk">Contact</a></li>
										<li><a id="abannerLink6" href="<?php echo (!isset($_SESSION['enterprise']))?'réservation-park.php':'reservation-enterprises.php'; ?>" class="bannerLInk">Réservation</a></li>
									</ul>
								</div>
							</td></tr></table>

					<!-- end of menu -->

				</div> <!-- end of banner -->
				<?php
				if (!isset($_SESSION['enterprise']) && !isset($_SESSION['userid'])) {
					?>
					<br>
						<div id="div-loguin-form"  style=" height: 100%;  margin: 0px 0px 0px 30px; text-align: left; display: none;">

							<label style="padding-top: 5px; margin-right: 10px; float: left; font-size: 15px; font-style: italic">Client</label>
							<form id="loguin-form" action="réservation-park.php" class="user-loguin-form">

								<input id="cemail"  type="email" style="color: #828282; display: inline; float: left" value="email..." name="email" size="20" class="loguin-data-form"
									   onfocus="
											   if (this.value == this.defaultValue) {
												   this.value = '';
											   }
											   this.style.color = '#000';"
									   onblur="
											   if (this.value == '') {
												   //this.value = this.defaultValue;
												   this.style.color = '#aaa';
											   }"
									   onkeydown="if (event.keyCode == 13){
												   loguinFormValidation(); return false;
											   }" 
									   required/>

								<input name="phone_movil_loguin" style="color: #828282; display: inline; float: left"  id="phone_movil_loguin" value="mobile..." class="loguin-data-form" size="20" type="text" required	
									   onfocus="
											   if (this.value === this.defaultValue) {
												   this.value = '';
											   }
											   this.style.color = '#000';"
									   onblur="
											   if (this.value === '') {
												   //this.value = this.defaultValue;
												   this.style.color = '#aaa';
											   }" 
									   onkeydown="if (event.keyCode == 13){
												   loguinFormValidation(); return false;
											   }"
									   required/>

								<div id="loguin-button" class="button_loguin" style=" cursor: pointer; margin-top: 3px;" onclick="loguinFormValidation()">
									<label style="margin-left: 10px;cursor: inherit;" onmouseover="">
										Login
									</label>
								</div>   

							</form>
						</div>
						<div id="div-enterprise-form"  style=" height: 100%;  margin: 0px 0px 0px 30px; text-align: left; display: none;">

							<label style="padding-top: 5px; margin-right: 10px; float: left; font-size: 15px; font-style: italic">Code d'entreprise</label>
							<form id="enterprise-form" class="user-loguin-form">							

								<input name="enterprise_code" style="color: #828282; display: inline; float: left"  id="enterprise_code" value="code..." class="enterprice-data-form" size="20" type="text" required	
									   onfocus="
											   if (this.value === this.defaultValue) {
												   this.value = '';
											   }
											   this.style.color = '#000';"
									   onblur="
											   if (this.value === '') {
												   //this.value = this.defaultValue;
												   this.style.color = '#aaa';
											   }" 
									   onkeydown="
										   if (event.keyCode === 13){
												   enterpriseFormValidation();return false;
											   }"
									   required/>

									<div id="enterprise-loguin" class="button_loguin " style=" cursor: pointer; margin-top: 3px;" onclick="enterpriseFormValidation()">
									<label style="margin-left: 10px;cursor: inherit;">
										Login
									</label>
								</div>   

							</form>
						</div>
						<div id="div-pre-loguin"  style=" height: 100%;  margin: 0px 0px 0px 30px; text-align: left; display: inline-block;">

							<div class="button_naccount22" style=" cursor: pointer; margin: 3px 0px 0px 10px;" onclick='

											   entrepriceTL.play();
								 '>
								<label style="margin-left: 24px;cursor: inherit;">Êtes-vous Agence de Voyages?</label>
							</div>  
							<div class="button_naccount2" style=" cursor: pointer; margin-top: 3px;" onclick='

											   clientTL.play();
								 '>
								<label style="margin-left: 20px;cursor: inherit;">Êtes-vous déjà client?</label>
							</div>  
							


						</div>
						<div style="display: inline; float: right; margin-top: 3px">
							<div class="button_naccount" style="margin-right: 30px; margin-top: 0px; height: 20px; cursor: pointer; display: inline-block;float: right" onclick="window.location.href = 'r%C3%A9servation-park.php'">
								<span style="margin-left: 18px; cursor: inherit;" onmouseover="">
									Créez un compte
								</span>
							</div>

							<label style="margin-right: 10px; margin-top: 0px; font-size: 15px; font-style: italic; display: inline-block;float: right">Nouveau client</label>



						</div>
						<?php
					} else {
						?>

						<label style="float: right; text-align: right; margin-right: 30px;color: #005599; font-size: 1.2em; z-index: 999">
							Bievenue <?php
							if (isset($_SESSION['userid']))
								echo $_SESSION["sex"] . '. ' . $_SESSION["name"];
							else if (isset($_SESSION['enterprise']))
								echo $_SESSION["enterprise_name"];
							?>
							<label style="color: red; cursor: pointer" onclick="logout()"> déconnexion </label>
						</label>
						<?php
					}
					?>

					<div id="templatemo_content">
